Skip to content

Conversation

@gsmet
Copy link
Member

@gsmet gsmet commented Dec 5, 2025

It happens quite often that a given directory has a couple of
generated/transformed classes and in this case we hit the
generated/transformed-bytecode jars for each lookup in this directory,
even for the regular case of the class being in the "standard" jars.

Keeping track of generated and transformed classes allows to avoid this
additional work with minimal added cost.

In my testing, it dropped 10 ms from the startup time, going from 367 to
353ms for a simple Quarkus REST app.

There's also an additional commit for a tiny improvement.

gsmet added 2 commits December 5, 2025 16:29
It happens quite often that a given directory has a couple of
generated/transformed classes and in this case we hit the
generated/transformed-bytecode jars for each lookup in this directory,
even for the regular case of the class being in the "standard" jars.

Keeping track of generated and transformed classes allows to avoid this
additional work with minimal added cost.

In my testing, it dropped 10 ms from the startup time, going from 367 to
353ms for a simple Quarkus REST app.
When possible and not too much hassle. It doesn't bring that much but
still it's good hygiene given how critical this path is.
@quarkus-bot quarkus-bot bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant